package com.clw.classfile.accessflags;

/**
 * Created by chengliwei on 2019/1/23.
 */
public class Flags {

    public static final short ACC_PUBLIC = 0x0001; // 是否为public类型
    public static final short ACC_PRIVATE = 0x0002; // 是否为private类型
    public static final short ACC_PROTECTED = 0x0004; // 是否为protected类型
    public static final short ACC_STATIC = 0x0008; // 是否为static类型
    public static final short ACC_FINAL = 0x0010; // 是否被声明为final
    public static final short ACC_SYNCHRONIZED = 0x0020; // 是否为synchronized
    public static final short ACC_BRIDGE = 0x0040; // 方法是否由编译器产生的桥接方法
    public static final short ACC_VARARGS = 0x0080; // 方法是否接受不定参数
    public static final short ACC_NATIVE = 0x0100; // 方法是否为native
    public static final short ACC_INTERFACE = 0x0200; // 标识这是一个接口
    public static final short ACC_ABSTRACT = 0x0400; // 方法是否为abstract
    public static final short ACC_STRICTFP = 0x0800; // 方法是否为strictfp
    public static final short ACC_SYNTHETIC = 0x1000; // 标识这个字段是否由编译器自动产生的
    public static final short ACC_ANNOTATION = 0x2000; // 是否注解
    public static final short ACC_ENUM = 0x4000; // 是否枚举
}
